import Vue from 'vue'
import Vuex from 'vuex'
import createPersistedState from 'vuex-persistedstate'
import product from '@/store/modules/product'
import adv from './modules/adv'
Vue.config.productionTip = false
Vue.use(Vuex)
const store = new Vuex.Store({
  plugins: [
    createPersistedState({
      key: 'zhaizijing',
    }),
  ],
  modules: {
    product,
    adv,
  },
})
export default store
